package com.yuntai.pms.model.entity;

import java.io.Serializable;
import java.util.Date;
import com.alibaba.fastjson.JSON;

/**
 * @ClassName: AipUserAppRef
 * @Description: user和app关系表
 * @author caijg@hsyuntai.com
 * @date 2017年11月9日 下午4:08:49
 */
public class AipUserAppRef implements Serializable{
	
	private static final long serialVersionUID = -6714287594399856238L;

	private Long userId;

    private Long appId;
	
    private Long isvAppId;

    private Date createTime;

    private Date updateTime;
    
    public Long getIsvAppId() {
        return isvAppId;
    }

    public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public void setIsvAppId(Long isvAppId) {
        this.isvAppId = isvAppId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public AipUserAppRef() {}
    
    public AipUserAppRef(Long userId, Long appId, Long isvAppId, Date createTime, Date updateTime) {
		super();
		this.userId = userId;
		this.appId = appId;
		this.isvAppId = isvAppId;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}